package com.zhongan;

//import java.io.*;
//import com.sun.media.jai.codec.*;

public class Test1 {

	public static void main(String[] args) throws Exception {
//		String dir = "C:\\Users\\za-tangdongming\\Desktop\\";
//		FileOutputStream out = new FileOutputStream(dir + "5.tif");
//		ImageDecoder decoder = ImageCodec.createImageDecoder("png", new File(dir + "5.png"), null);
//		ImageEncoder encoder = ImageCodec.createImageEncoder("tiff", out, null);
//		encoder.encode(decoder.decodeAsRenderedImage());
//		out.close();
		
//        String sign = MD5Util.encrypt("{\"brandName\":\"大众\",\"serialId\":\"f9bae35352d0290b0b36533a4c27a0ae\"}" + "b7038caf306dfc3c4b939b3d91cc6b88");
//        System.out.println(sign);      
		System.out.println("file.encoding:"+System.getProperty("file.encoding"));  
        System.out.println("sun.jnu.encoding:"+System.getProperty("sun.jnu.encoding"));
	}

}
